<?php
/**
 * Created by JetBrains PhpStorm.
 * User: nhieunv
 * Date: 9/24/13
 * Time: 10:06 AM
 * To change this template use File | Settings | File Templates.
 */

return array(
   'elements' => array(
       'user' => array(
           'type' => 'form',
           'title' => 'Login information',
           'elements' => array(
               'username' => array(
                   'type' => 'text',
               ),
               'password' => array(
                   'type' => 'password',
               ),
               'email' => array(
                   'type' => 'text',
               )
           ),
       ),

       'profile' => array(
           'type' => 'form',
           'title' => 'Profile information',
           'elements' => array(
               'firstname' => array(
                   'type' => 'text',
               ),
               'lastname' => array(
                   'type' => 'text',
               ),
           ),
       ),
   ),

    'buttons' => array(
        'register' => array(
            'type' => 'submit',
            'label' => 'Register',
        ),
    ),
);